package zcw.com.lib_leet_code;

/**
 * Created by 朱城委 on 2021/7/13.<br><br>
 *
 * Nim游戏
 */
public class Topic292 {

    public static void main(String[] args) {
        Topic292 instance = new Topic292();

        System.out.println(instance.canWinNim(4));
        System.out.println(instance.canWinNim(1));
        System.out.println(instance.canWinNim(2));
    }

    public boolean canWinNim(int n) {
        return n % 4 == 0;
    }
}
